package log4j;

import org.apache.log4j.Logger;
import org.junit.Test;

/**
 * Description:
 * Created by 4790K_NSL on 2017/5/20.
 */
public class Log4jDemo1 {
    @Test
    public void demo1(){
       Logger logger =UtilLog4j.getLogger(Log4jDemo1.class);
        logger.debug("Here is some DEBUG");
        logger.info("Here is some INFO");
        logger.info("----------------------------------------------------");
        logger.warn("Here is some WARN");
        logger.error("Here is some ERROR");
        logger.fatal("Here is some FATAL");
    }
}
